-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(editor): Enable @typescript-eslint/no-base-to-string lint rule, fix errors (no-changelog) #9783
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this 🙏🏽
@@ -132,7 +132,11 @@ const outputTypeParsers: { | |||
} else if (content.id.includes('SystemMessage')) { | |||
message = `**System Message:** ${message}`; | |||
} | |||
if (execData.action && execData.action !== 'getMessages') { | |||
if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is good enough as a short-term solution, but in the long-term we really need to use a lot less of IDataObject
. If execData
was to use proper typing, we wouldn't need hacky checks like these.
✅ No visual regressions found. |
2 flaky tests on run #5548 ↗︎
Details:
5-ndv.cy.ts • 1 flaky test
10-undo-redo.cy.ts • 1 flaky test
Review all test suite changes for PR #9783 ↗︎ |
✅ All Cypress E2E specs passed |
…le, fix errors (no-changelog) (n8n-io#9783)
…le, fix errors (no-changelog) (n8n-io#9783)
Got released with |
1 similar comment
Got released with |
Summary
Enable @typescript-eslint/no-base-to-string lint rule, fix errors
Recently a bug: #9782 could have been prevented by this rule
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)